package com.emptyMe.user.mapper;

import com.emptyMe.user.domain.User;
import com.emptyMe.user.query.UserQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface UserMapper {
    User findByPhone(String phone);

    void save(UserQuery query);

    User findByUsername(String username);

    void edit(User user);

    void joinUs(User user);

    List<User> findUser(UserQuery query);

    void delUser(List<Long> ids);


}
